<div class="jshop">    
    <h1 class="jshop-pagetitle"><?php print _JSHOP_LOGIN ?></h1>
    
    <?php if ($this->config->shop_user_guest && $this->show_pay_without_reg) {?>
      <span class="text_pay_without_reg"><?php print _JSHOP_ORDER_WITHOUT_REGISTER_CLICK?> <a href="<?php print SEFLink('index.php?option=com_jshopping&controller=checkout&task=step2',1,0, $this->config->use_ssl);?>"><?php print _JSHOP_HERE?></a></span>
    <?php } ?>
    
    <div id="jshop-login" class="clearfix">
      <div class="login_block">
        <span class="small_header"><?php print _JSHOP_HAVE_ACCOUNT ?></span>
        <div class="login_block-inner">
        <span><?php print _JSHOP_PL_LOGIN ?></span>
        <form method = "post" action = "<?php print SEFLink('index.php?option=com_jshopping&controller=user&task=loginsave', 0,0, $this->config->use_ssl)?>" name = "jlogin">
          
          <table cellpadding="0" cellspacing="0" border="0">
          <tr>
              <td><strong><?php print _JSHOP_USERNAME ?>: </strong></td>
              <td><input type = "text" name = "username" value = "" class = "inputbox" /></td>
          </tr>
          <tr>
              <td><strong><?php print _JSHOP_PASSWORT ?>: </strong></td>
              <td><input type = "password" name = "passwd" value = "" class = "inputbox" /></td>
          </tr>
          <tr>
              <td colspan="2" align="right">
                  <label for = "remember_me"><?php print _JSHOP_REMEMBER_ME ?></label><input type = "checkbox" name = "remember" id = "remember_me" value = "yes" /><br />
                  <input type="submit" class="button" value="<?php print _JSHOP_LOGIN ?>" /><br />                        
                  <a href = "<?php print $this->href_lost_pass ?>"><?php print _JSHOP_LOST_PASSWORD ?></a>
              </td>
          </tr>
          </table>
          
          <input type = "hidden" name = "return" value = "<?php print $this->return ?>" />
          <input type = "hidden" name = "Itemid" value = "<?php print $this->Itemid ?>" />
          <input type = "hidden" name = "<?php print $this->validate ?>" value = "1" />
        </form>   
      </div>
        </div>
      <div class="register_block">
          <span class="small_header"><?php print _JSHOP_HAVE_NOT_ACCOUNT ?></span>
          
					<div class="register_block_ct">
					<span><?php print _JSHOP_REGISTER ?></span>
          <?php if (!$this->config->show_registerform_in_logintemplate){?>
              <input type="button" class="button" value="<?php print _JSHOP_REGISTRATION ?>" onclick="location.href='<?php print $this->href_register ?>';" />
          <?php } else {?>
              <?php $hideheaderh1 = 1; include(dirname(__FILE__)."/register.php"); ?>
          <?php } ?>
          </div>
      </div>
              
    </div>
</div>    
